/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.miracleteam.miracle.services.servicesImpl;

import com.miracleteam.miracle.dao.SanPhamCoTaiCuaHangDAO;
import com.miracleteam.miracle.dao.daoImpl.SanPhamCoTaiCuaHangDAOImpl;
import com.miracleteam.miracle.entities.Sanphamcotaicuahang;
import com.miracleteam.miracle.services.SanPhamCoTaiCuaHangService;
import java.util.List;

/**
 *
 * @author DangKhoa
 */
public class SanPhamCoTaiCuaHangServiceImpl implements SanPhamCoTaiCuaHangService{
     public List LayDSLoaiSPCuaCuaHang(String maCH) 
     {
         SanPhamCoTaiCuaHangDAO spDao=new SanPhamCoTaiCuaHangDAOImpl();
         return spDao.LayDSLoaiSPCuaCuaHang(maCH);
     }
     public Sanphamcotaicuahang LaySPCoTaiCuaHang(String ma)
     {
           SanPhamCoTaiCuaHangDAO spDao=new SanPhamCoTaiCuaHangDAOImpl();
           return spDao.LaySPCoTaiCuaHang(ma);
     }
}
